import request from '@/utils/request'
export function getMessage() {
	return request({
		url: "/service/getAllQuestionAndAnswerList",
		method: 'get',
		headers: {
			isToken: true,
		},
	})
}

export function getMyInvitation(obj, param) {
	return request({
		url: "/memberInfoApp/pagingQuery/" + obj.currentPage + '/' + obj.size + "?myInvitationCode=" + param.myInvitationCode,
		method: 'post',
		headers: {
			isToken: true,
		},
	})
}
export function getTopList() { //邀请排行榜
	return request({
		url: "/memberInfoApp/auth/top_invite/10",
		method: 'get',

	})
}
// 师徒规则
export function getApprentice() { //邀请排行榜
	return request({
		url: "/memberInfoApp/masterAndApprentice",
		method: 'get',

	})
}

// 师徒规则解绑
export function secureMaster() { //邀请排行榜
	return request({
		url: "/memberInfoApp/secureMaster",
		method: 'get',
	})
}
